import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  "mode":"history",
  routes: [
    {
      path:'/',
      name:'index',
      component:()=>import('../view/index/index')
    },
    {
      path:'/detail',
      name:'detail',
      component:()=>import('../view/product/detail')
    }
  ]
})
